﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceDog.Lib.Farm
{
    public class Chicken : Animal, IAnimalBase
    {
        public Chicken(string name) : base(name) { }

        public override string Type
        {
            get
            {
                return "Chicken";
            }
        }

        public override void EatFood()
        {
            Console.WriteLine("chicken eat food");
        }

        public void Speak()
        {
            Console.WriteLine("chicken speak");
        }

        public void Walk()
        {
            Console.WriteLine("chicken walk");
        }
    }
}
